package com.tansun.ruledata.entity;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

/**
 * rule_log_detailEntity
 * @author lph
 * @version 2018-07-23
 */
public class RuleLogDetails extends Object{
	
	private static final long serialVersionUID = 1L;
	private String id;
	private Date createDate;
	private String relationId;		// relation_id
	private String projectCode;		// project_code
	private String ruleType;		// rule_type
	private String modelName;		// name
	private String ruleName;		// name
	private String code;		// code
	private String version;		// version
	private String salience;		// salience
	private String ruleCondition;		// rule_condition
	private String paramNameen;		// param_nameen
	private String paramNamecn;		// param_namecn
	private String coefficient;		// coefficient
	private String scoreval;		// scoreval
	private String description;		// desc
	private String field1;		// field0
	private String field2;		// field01
	
	public RuleLogDetails() {
		super();
	}
	@Length(min=0, max=50, message="relation_id长度必须介于 0 和 50 之间")
	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}
	
	@Length(min=0, max=50, message="project_code长度必须介于 0 和 50 之间")
	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}
	
	@Length(min=0, max=50, message="rule_type长度必须介于 0 和 50 之间")
	public String getRuleType() {
		return ruleType;
	}

	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}
	public String getModelName() {
		return modelName;
	}
	public void setModelName(String modelName) {
		this.modelName = modelName;
	}
	public String getRuleName() {
		return ruleName;
	}
	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	@Length(min=0, max=32, message="code长度必须介于 0 和 32 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Length(min=0, max=16, message="version长度必须介于 0 和 16 之间")
	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}
	
	@Length(min=0, max=10, message="salience长度必须介于 0 和 10 之间")
	public String getSalience() {
		return salience;
	}

	public void setSalience(String salience) {
		this.salience = salience;
	}
	
	@Length(min=0, max=1000, message="rule_condition长度必须介于 0 和 1000 之间")
	public String getRuleCondition() {
		return ruleCondition;
	}

	public void setRuleCondition(String ruleCondition) {
		this.ruleCondition = ruleCondition;
	}
	
	@Length(min=0, max=32, message="param_nameen长度必须介于 0 和 32 之间")
	public String getParamNameen() {
		return paramNameen;
	}

	public void setParamNameen(String paramNameen) {
		this.paramNameen = paramNameen;
	}
	
	@Length(min=0, max=32, message="param_namecn长度必须介于 0 和 32 之间")
	public String getParamNamecn() {
		return paramNamecn;
	}

	public void setParamNamecn(String paramNamecn) {
		this.paramNamecn = paramNamecn;
	}
	
	@Length(min=0, max=32, message="coefficient长度必须介于 0 和 32 之间")
	public String getCoefficient() {
		return coefficient;
	}

	public void setCoefficient(String coefficient) {
		this.coefficient = coefficient;
	}
	
	@Length(min=0, max=32, message="scoreval长度必须介于 0 和 32 之间")
	public String getScoreval() {
		return scoreval;
	}
	public void setScoreval(String scoreval) {
		this.scoreval = scoreval;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getField1() {
		return field1;
	}
	public void setField1(String field1) {
		this.field1 = field1;
	}
	public String getField2() {
		return field2;
	}
	public void setField2(String field2) {
		this.field2 = field2;
	}
}